package com.szrt.day20170523.ch02.employee.dao;


import org.junit.Test;

import com.szrt.day20170523.ch02.employee.dao.impl.EmployeeDaoOracleImpl;

public class EmployeeDaoTest {
	
	
	@Test
	public void testName() throws Exception {
		
		
		EmployeeDao dao = new EmployeeDaoOracleImpl() ;
		
		//这里等下会补充具体的数据库 dao = new EmployeeDaoImpl
		
		
		String sql ="insert into employee values(1004,34,22000.00,'huanglaoshi')";
		int counter =dao.add(sql);
		
		System.out.println(counter);
	}

}
